package com.agent.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("agent_market")
public class AgentMarket {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String marketId;
    private String agentId;
    private String agentName;
    private String agentType;
    private String description;
    private String author;
    private String version;
    private String category;
    private String tags;
    private BigDecimal price;
    private BigDecimal rating;
    private Integer downloadCount;
    private Integer useCount;
    private String status;
    
    @TableLogic
    private Integer deleted;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
